import link from "@/api/link.js";
let wode = {
  state: {
    listobj: {},
  },
  getters: {},
  mutations: {
    UPOBJ(state, payload) {
      state.listobj = payload.data;
    },
  },
  actions: {
    LINK_DATA(context, payload) {
      link(payload.url).then((ok) => {
        console.log(ok);

        context.commit("UPOBJ", ok);
      });
    },
  },
};
export default wode;
